package com.itheima.loop;

public class LoopDemo4 {
    /*
        无限循环(死循环):

            for(;;){}

            while(true){}

            do{}while(true);
     */
    public static void main(String[] args) {
        do {
            System.out.println(1);
        }while(true);
    }
}
